package Simple2;

import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

public class ArrayHoppersTest {

	ArrayHoppers ah = new ArrayHoppers();
	@Before
	public void setUp() throws Exception {
		ah = new ArrayHoppers();
	}

	@Test
	public void testGetminhop() {
		
		int[] testarray = {5,6,0,4,2,4,1,0,0,4};
		int[] testarray2 = {0,0,0,0,0};
		String expected = "0, 5, 9, out";
		String expected2 = "Failure";
		assertEquals(expected, ah.getminhop(testarray));
		assertEquals(expected2,ah.getminhop(testarray2));
//		fail("Not yet implemented");
	}

}
